const swapKeyValue = function (json){
  var ret = {};
  for(var key in json){
    ret[json[key]] = key;
  }
  return ret;
};

module.exports = swapKeyValue;